package com.test.design.pattern.decorator;

/**
 * @ClasName FastFood
 * @Descripution TODO
 * @Author leikw
 * @Date 2021/12/16 10:04
 * @Version V1.0
 */
public abstract class FastFood {

    private float price;
    private String desc;

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public FastFood(float price,String desc){
        this.price = price;
        this.desc = desc;
    }

    public FastFood() {
    }

    public  abstract  float cost();
}
